package com.exam.itempool.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.exam.role.model.Teacher;

/**
 * QuestionWordin entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class QuestionWordin implements java.io.Serializable
{

	// Fields

	private Integer id;
	private Coursetype coursetype;
	private Teacher teacher;
	private Questiontype questiontype;
	private Date createtime;
	private String flag;
	private Float score;
	private String question;
	private String answer;
	private Set pcqws = new HashSet(0);
	private Set papercontents = new HashSet(0);

	// Constructors

	/** default constructor */
	public QuestionWordin()
	{
	}

	/** full constructor */
	public QuestionWordin(Coursetype coursetype, Teacher teacher, Questiontype questiontype, Date createtime, String flag, Float score, String question, String answer, Set pcqws, Set papercontents)
	{
		this.coursetype = coursetype;
		this.teacher = teacher;
		this.questiontype = questiontype;
		this.createtime = createtime;
		this.flag = flag;
		this.score = score;
		this.question = question;
		this.answer = answer;
		this.pcqws = pcqws;
		this.papercontents = papercontents;
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public Coursetype getCoursetype()
	{
		return this.coursetype;
	}

	public void setCoursetype(Coursetype coursetype)
	{
		this.coursetype = coursetype;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}

	public Questiontype getQuestiontype()
	{
		return this.questiontype;
	}

	public void setQuestiontype(Questiontype questiontype)
	{
		this.questiontype = questiontype;
	}

	public Date getCreatetime()
	{
		return this.createtime;
	}

	public void setCreatetime(Date createtime)
	{
		this.createtime = createtime;
	}

	public String getFlag()
	{
		return this.flag;
	}

	public void setFlag(String flag)
	{
		this.flag = flag;
	}

	public Float getScore()
	{
		return this.score;
	}

	public void setScore(Float score)
	{
		this.score = score;
	}

	public String getQuestion()
	{
		return this.question;
	}

	public void setQuestion(String question)
	{
		this.question = question;
	}

	public String getAnswer()
	{
		return this.answer;
	}

	public void setAnswer(String answer)
	{
		this.answer = answer;
	}

	public Set getPcqws()
	{
		return this.pcqws;
	}

	public void setPcqws(Set pcqws)
	{
		this.pcqws = pcqws;
	}

	public Set getPapercontents()
	{
		return this.papercontents;
	}

	public void setPapercontents(Set papercontents)
	{
		this.papercontents = papercontents;
	}

}